package cn.tedu.demo.service;

import cn.hutool.json.JSON;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface FileService {

    String upload(MultipartFile file) throws IOException;

    void getFiles(String flag, HttpServletResponse response);

    JSON editorUpload(MultipartFile file) throws IOException;
}
